package cn.jasonone.tio.tcp.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Resource;

/**
 * @author xujie
 * @version 1.0
 * @date 2022/1/19 9:44
 */
@Data
@Configuration
@ConfigurationProperties("tio")
public class TioProperties {
    @Resource
    private ServerProperties server;
    @Resource
    private ClientProperties client;
}
